package com.forum.entity.view;

import com.forum.entity.PgdInformationEntity;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

/**
 * @ClassNamePgdInformationView
 * @Author Lenovo
 * @Date 2023/11/29 14:59
 */
public class PgdInformationView extends PgdInformationEntity implements Serializable {

    private static final long serialVersionUID=1L;

    public PgdInformationView(){

    }
    public PgdInformationView(PgdInformationEntity pgdInformationEntity){
        try {
            BeanUtils.copyProperties(this, pgdInformationEntity);
        } catch (IllegalAccessException | InvocationTargetException e) {
            e.printStackTrace();
        }
    }
}
